home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Frameworks / SCAPI 0.85 / Spunk Cross API 1.0 / WinSCAPI / Headers / SCAPIStatic.h < prev    next >
Encoding:
Text File  |  1997-06-19  |  1.4 KB  |  48 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    SCAPIStatic.h                  ©1997 Spunk Cross         All rights reserved.
  3. // ===========================================================================
  4.  
  5. #ifndef SCAPISTATIC_H
  6. #define SCAPISTATIC_H
  7.  
  8. #include "SCAPICommonIncludes.h"
  9. #include "SCAPIWindow.h"
  10.  
  11.  
  12. // ---------------------------------------------------------------------------
  13. //        Defines
  14. // ---------------------------------------------------------------------------
  15.  
  16. #define SCAPIStatic_default_originx            0
  17. #define SCAPIStatic_default_originy            0
  18. #define SCAPIStatic_default_width            50
  19. #define SCAPIStatic_default_height            25
  20.  
  21.  
  22. // ---------------------------------------------------------------------------
  23. //        SCAPIStatic Class
  24. // ---------------------------------------------------------------------------
  25.  
  26. class SCAPIStatic : public CStatic
  27. {
  28.  
  29.     // ===========================================================
  30.     // === Spunk Cross API, these are the routines you can use ===
  31.     // ===========================================================
  32.     
  33.         // Constructor - Destructor
  34.         // ------------------------
  35.         
  36.     public:
  37.     
  38.         SCAPIStatic(    char*            inText,
  39.                         SCAPIWindow*    inWindowP,
  40.                         int                inOriginx = SCAPIStatic_default_originx,
  41.                         int             inOriginy = SCAPIStatic_default_originy,
  42.                         int                inWidth = SCAPIStatic_default_width,
  43.                         int                inHeight = SCAPIStatic_default_height        );
  44.         
  45.         ~SCAPIStatic();
  46. };
  47.  
  48. #endif